package com.jumi.microservice.domain;

import com.jumi.microservice.common.base.AbstractObject;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单条目DTO类
 *
 * @author Administrator
 */
public class OrderItemDTO extends AbstractObject implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 库存扣除单号
     */
    private Long stockLogId;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 实发仓库ID
     */
    private Long actualWarehouseId;

    /**
     * 商品sku id
     */
    private Long goodsSkuId;

    /**
     * 用户账号id
     */
    private Long userAccountId;

    /**
     * 请求时间
     */
    private Date requestTime;

    /**
     * 商品sku的购买数量
     */
    private Integer purchaseQuantity;

    /**
     * 是否预售(0:否,1:是)
     */
    private Integer isPre;

    /**
     * 是否自营
     */
    private Integer isShelf;

    private Long areaId;

    /**
     * 订单状态(0:未支付,1:已支付)
     */
    private Integer orderStatus;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Long getGoodsSkuId() {
        return goodsSkuId;
    }

    public void setGoodsSkuId(Long goodsSkuId) {
        this.goodsSkuId = goodsSkuId;
    }

    public Long getUserAccountId() {
        return userAccountId;
    }

    public void setUserAccountId(Long userAccountId) {
        this.userAccountId = userAccountId;
    }

    public Date getRequestTime() {
        return requestTime;
    }

    public void setRequestTime(Date requestTime) {
        this.requestTime = requestTime;
    }

    public Integer getPurchaseQuantity() {
        return purchaseQuantity;
    }

    public void setPurchaseQuantity(Integer purchaseQuantity) {
        this.purchaseQuantity = purchaseQuantity;
    }

    public Long getStockLogId() {
        return stockLogId;
    }

    public void setStockLogId(Long stockLogId) {
        this.stockLogId = stockLogId;
    }

    public Long getActualWarehouseId() {
        return actualWarehouseId;
    }

    public void setActualWarehouseId(Long actualWarehouseId) {
        this.actualWarehouseId = actualWarehouseId;
    }

    public Integer getIsPre() {
        return isPre;
    }

    public void setIsPre(Integer isPre) {
        this.isPre = isPre;
    }

    public Integer getIsShelf() {
        return isShelf;
    }

    public void setIsShelf(Integer isShelf) {
        this.isShelf = isShelf;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }
}
